home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20020314-20021006
/
000116_david.neau@dial.oleane.com_Tue Jun 4 10:08:55 EDT 2002.msg
< prev
next >
Wrap
Text File
|
2002-10-06
|
3KB
|
77 lines
Article: 13411 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: david.neau@dial.oleane.com (david)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: kermit file
Date: 4 Jun 2002 00:29:21 -0700
Organization: http://groups.google.com/
Lines: 58
Message-ID: <fd9f03a6.0206032329.ef1732a@posting.google.com>
References: <fd9f03a6.0206030803.6475f94c@posting.google.com> <adg4td$9bq$1@watsol.cc.columbia.edu> <Pine.HPX.4.21.0206031523540.13422-100000@fog.ccsf.cc.ca.us>
NNTP-Posting-Host: 193.251.151.12
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1023175761 27025 127.0.0.1 (4 Jun 2002 07:29:21 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 4 Jun 2002 07:29:21 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13411
Mark Sapiro <msapiro@ccsf.edu> wrote in message news:<Pine.HPX.4.21.0206031523540.13422-100000@fog.ccsf.cc.ca.us>...
> On 3 Jun 2002, Frank da Cruz wrote:
>
> > In article <fd9f03a6.0206030803.6475f94c@posting.google.com>,
> > david <david.neau@dial.oleane.com> wrote:
> > : When I do on Kermit prompt
> > :
> > : ...
> > : dial number
> > :
> > : It work well, connection and terminal echo are OK
> > :
> > : but when i put it un a kermit script or in file ( kermit -y file )
> > : it return at the kermit prompt after connexion but nothing is display
> > : on my terminal ...
> > : ...
> > : Could somebody help me
> > :
> > As explained in the manual, when the DIAL command is given at the prompt,
> > it enters CONNECT mode automatically if the call was successful, whereas if
> > it is given in a script, it remains in command mode. Your script should say:
> >
> > dial number
> > if success connect
> >
> > Or:
> >
> > set dial connect on
> > dial number
>
> Frank's reply may be what you're looking for, but if what you want is to
> see the script commands as they are executed, add "set take echo on" at
> the beginning of the script. Note that this setting is primarily intended
> for debugging.
Thanks all for yours answers, it works well with the command set dial
connect on, but I have a other bug. I try to run this script by a perl
program, I do somthething like that
system ( " kermit_script & ") ---> in background because perl program
need to continue ..
connection work but just after it disconnect , why ?
thanks
This is what appens :
CONNECT 9600/ARQ/V34/MNP
Connecting to /dev/ttyS0, speed 9600.
The escape character is Ctrl-\ (ASCII 28, FS)
Type the escape character followed by C to get back,
or followed by ? to see other options.
(Session logged to /home/ippm/robot/LOG/kermit.log, text)
----------------------------------------------------
(Back at "my computer" )
Closing /dev/ttyS0...OK